<?php
require_once 'composer/vendor/propel/propel1/runtime/lib/Propel.php';
Propel::init("composer/vendor/propel/propel1/generator/bin/em/build/conf/esportsmaniacs-conf.php");
set_include_path("composer/vendor/propel/propel1/generator/bin/em/build/classes");
?>
<head>
    
</head><body>
<script type="text/javascript">
function cambiartexto()
{
   var  div = document.getElementById("texto");
   var elp = document.createElement("p");
   elp.setAttribute("class","miclase");
   var texto= document.createTextNode("El texto que queremos");
   elp.appendChild(texto);
   div.appendChild(elp);
   
   
   
   
}
</script>

<div id="texto"></div>
<button id ="boton" onclick="cambiartexto();">Intro</button>
<?php

 $post = postQuery::create()->findpk(1);
 
 $post->getf
?>
</body>